package com.infocollect.project.grant.domain;

import com.infocollect.framework.aspectj.lang.annotation.Excel;
import com.infocollect.framework.web.domain.BaseEntity;
import io.netty.handler.ssl.util.InsecureTrustManagerFactory;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 派出单位计划管理对象 gr_company_plan
 *
 * @author infocollect
 * @date 2022-07-09
 */
public class GrCompanyPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private Long id;

    /** 项目 */
    @Excel(name = "项目")
    private Long grantId;

    /** 派出单位 */
    @Excel(name = "派出单位")
    private Long companyId;

    /** 科类 */
    @Excel(name = "科类")
    private Long subjectCode;

    /** 计划数 */
    @Excel(name = "计划数")
    private Integer planNum;
    @Excel(name = "科类名称")
    private String familiesName;
    @Excel(name = "项目名称")
    private String grantName;
    @Excel(name = "派出单位名称")
    private String comName;
    @Excel(name = "报名人数")
    private Integer enrollNum;
    private Integer lvl;
    private Long parentId;
    /**是否导出模板**/
    private String isExportTemplate;
    private List<Long> subjectCodeArr;
    private String configshowcelSearch;
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setGrantId(Long grantId)
    {
        this.grantId = grantId;
    }

    public Long getGrantId()
    {
        return grantId;
    }
    public void setCompanyId(Long companyId)
    {
        this.companyId = companyId;
    }

    public Long getCompanyId()
    {
        return companyId;
    }
    public void setSubjectCode(Long subjectCode)
    {
        this.subjectCode = subjectCode;
    }

    public Long getSubjectCode()
    {
        return subjectCode;
    }
    public void setPlanNum(Integer planNum)
    {
        this.planNum = planNum;
    }

    public Integer getPlanNum()
    {
        return planNum;
    }

    public String getFamiliesName() {
        return familiesName;
    }

    public void setFamiliesName(String familiesName) {
        this.familiesName = familiesName;
    }

    public String getGrantName() {
        return grantName;
    }

    public void setGrantName(String grantName) {
        this.grantName = grantName;
    }

    public String getComName() {
        return comName;
    }

    public void setComName(String comName) {
        this.comName = comName;
    }

    public Integer getEnrollNum() {
        return enrollNum;
    }

    public void setEnrollNum(Integer enrollNum) {
        this.enrollNum = enrollNum;
    }

    public Integer getLvl() {
        return lvl;
    }

    public void setLvl(Integer lvl) {
        this.lvl = lvl;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getIsExportTemplate() {
        return isExportTemplate;
    }

    public void setIsExportTemplate(String isExportTemplate) {
        this.isExportTemplate = isExportTemplate;
    }

    public List<Long> getSubjectCodeArr() {
        return subjectCodeArr;
    }

    public void setSubjectCodeArr(List<Long> subjectCodeArr) {
        this.subjectCodeArr = subjectCodeArr;
    }

    public String getConfigshowcelSearch() {
        return configshowcelSearch;
    }

    public void setConfigshowcelSearch(String configshowcel) {
        this.configshowcelSearch = configshowcel;
    }

    @Override
    public String toString() {
        return "GrCompanyPlan{" +
                "id=" + id +
                ", grantId=" + grantId +
                ", companyId=" + companyId +
                ", subjectCode=" + subjectCode +
                ", planNum=" + planNum +
                ", familiesName='" + familiesName + '\'' +
                ", grantName='" + grantName + '\'' +
                ", comName='" + comName + '\'' +
                '}';
    }
}
